<div class="path">
    <i class="iconfont icon-shouye1"></i>
    <a href="{url('admin/default/welcome')}">开始</a> / 
    <a href="javascript:void(0);">故障管理</a>
</div>
<form id="form" action="{url('fault/index')}" method="post">
<div class="table-search fn-clear">
<ul>
<li>
    <span class="fn-tar">IMEI号:</span>
    <span class="sinput"><input class="input" type="text" name="imei" value="{$imei}" /></span>
</li>
<li>
    <span class="fn-tar">门店号:</span>
    <span class="sinput">
<select class="select" name="supplier_id">
    <option value="" selected="selected"></option>
{loop $supplier_lists $vo} 
    <option value="{$vo['id']}" {if $supplier_id ==$vo['id']} selected="selected"{/if}>{$vo['name']}</option>
{/loop}
</select>
    </span>
</li>
<li>
    <span class="fn-tar">跟踪号:</span>
    <span class="sinput"><input class="input" type="text" name="number" value="{$number}" /></span>
</li>
<li>
    <span class="fn-tar">快递单号:</span>
    <span class="sinput"><input class="input" type="text" name="ems_sn" value="{$ems_sn}" /></span>
</li>
<li>
    <span class="fn-tar">邮寄时间起:</span>
    <span class="sinput"><input class="input ui-time" type="text" name="ems_start_time" value="{$ems_start_time}" /></span>
</li>
<li>
    <span class="fn-tar">邮寄时间止:</span>
    <span class="sinput"><input class="input ui-time" type="text" name="ems_end_time" value="{$ems_end_time}" /></span>
</li>
<li><input type="submit" value="开始查找手机" class="button button-green submit" /></li>
</ul>
</div>
</form>
<div class="m10">
<table class="table table-border">
<thead>
    <tr>
        <th class="fn-tac w100">跟踪号</th>
        <th class="fn-tac w100">附加门店号</th>
        <th class="fn-tac w100">门店号</th>
        <th class="fn-tac w100">发件快递单号</th>
        <th class="fn-tac w120">换新发件时间</th>
        <th>品牌</th>
        <th>机型型号</th>
        <th class="fn-tac w100">IMEI号</th>
        <th class="fn-tac w120">换新IMEI号</th>
        <th class="fn-tac w120">确认收获时间</th>
        <th class="fn-tac w120">入库管理员</th>
        <th class="fn-tac w60">操作</th>
    </tr>
</thead>
<tbody>
{loop $list $vo}
<tr>
    <td class="fn-tac">{$vo['number']}</a></td>
    <td class="fn-tac">{$vo['supplier_code']}</td>
    <td class="fn-tac">{$vo['supplier_name']}</td>
    <td>{$vo['outwarehouse_ems_sn']}</td>
    <td>{date('Y-m-d',$vo['out_time'])}</td>
    <td>{$vo['manufacturer_number']}</td>
    <td>{$vo['producttype_name']}</td>
    <td class="fn-tac">{$vo['imei']}</td>
    <td class="fn-tac">{date('Y-m-d',$vo['add_time'])}</td>
    <td class="fn-tac">{date('Y-m-d',$vo['ems_take_time'])}</td>
    <td class="fn-tac">{$vo['addwarehouse_admin_name']}</td>
    <td class="fn-tac"><a href="{url('fault/edit',array(id=>$vo['id']))}">确认故障</a></td>
</tr>
{/loop}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
    Do('base','form','date','dialog',function(){ 
        $('.win').click(function(){$(this).win();});
        $('#form').forms({types:'post'});
    })
</script>
